<?php
defined('IN_TS') or die('Access Denied.');
include_once "pinyin.php";
$myname = $_GET['myname'];
$abb = pinyin($myname,'first');
$arrReader = $new['article']->findAll('reader',array('abbreviate'=>$abb));
$count = count($arrReader);

foreach ( $arrReader as $v ){
	$str=$v['reader_name'];
	$word = substr($str,3,3);
	$py = pinyin($word,'all');
	$str = str_replace($word,$py,$str);
	if($same == ''){
		$same = $str;
	}else{
		$same = $same.' '.$str;
	}
}


if(!$myname){
	$title = '查询与我姓名缩写相同的微澜小读者';
}else{
	$title = '与'.$myname.'缩写相同的微澜小读者';
}
$url=tsUrl('article','same');

include template("same");